// 系统的一些基本样式
@import "resetElementUI";

html,
body {
  width: 100%;
  height: 100%;
  font: 14px/1.4em "微软雅黑", "Helvetica", "Hiragino Sans GB", "Microsoft YaHei", "sans-serif" !important;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

table {
  table-layout: fixed;
}

input,
button {
  outline: none;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  background-color: white !important;
}

textarea {
  font-family: "微软雅黑";
  resize: none;
}

a {
  text-decoration: none;
  outline: none;
}

a,
button {
  cursor: pointer;
}

li {
  list-style: none;
}

// 滚动条样式重写
// chrome
::-webkit-scrollbar {
  width: 10px;
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background-color: rgba(38, 46, 84, 0.8);
  border-radius: 5px;
  box-shadow: @color-text-regular;
  &:hover {
    background-color: @color-black-lighter;
  }
}
::-webkit-scrollbar-thumb {
  background-color: rgba(201, 210, 255, 0.8);
  border-radius: 5px;
  &:hover {
    background-color: @color-text-regular;
  }
}
// firefox
html {
  // 指定滚动条样式 thumb track
  scrollbar-color: rgba(201, 210, 255, 0.8) rgba(38, 46, 84, 0.8);
  &:hover {
    scrollbar-color: @color-text-regular  @color-black-lighter;
  }
  * {
    scrollbar-width: thin;
  }
}
